<h2><?php print $header?></h2>
<p><?php print $this->lang->line( 'website_info' )?></p>

<?php print form_open('article/admin/website/form/'.$this->validation->id, array( 'class' => 'horizontal' ) )?>
    <fieldset>
        <ol>
            <li>
                <?php print form_label( $this->lang->line('website_title'), 'title')?>
                <?php print form_input( 'name', $this->validation->name, 'id="name" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line('website_template'), 'template' )?>
                <?php print form_input( 'template', $this->validation->template,'id="template" class="text"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line('website_language'), 'language')?>
                <?php print form_dropdown( 'language', $language, $this->validation->language,'id="language" class="text"')?>
            </li>
            <li>
                <?php print form_label( $this->lang->line('website_domains'), 'domains' )?>
                <?php print form_textarea( 'domains', $domains, $this->validation->domains )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line('website_classification_id'), 'classification_id' )?>
                <?php print form_dropdown( 'classification_id', $classification, $this->validation->classification_id,'id="classification_id" size="10" style="width:20.3em;"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line('website_user_id'), 'user_id' )?>
                <?php print form_dropdown( 'user_id', $user, '','id="user_id" size="10" style="width:20.3em;"' )?>
            </li>
            <li>
                <?php print form_label( $this->lang->line( 'website_active' ), 'active' )?>
                <?php print $this->lang->line( 'general_yes' ) ?> <?php print form_radio( 'active', '1', $this->validation->set_radio( 'active', '1' ), 'id="active"' )?>
                <?php print $this->lang->line( 'general_no' ) ?> <?php print form_radio( 'active', '0', $this->validation->set_radio( 'active', '0' ) )?>
            </li>
            <li class="submit">
                <?php print form_hidden( 'id', $this->validation->id )?>
                <div class="buttons">
	                <button type="submit" class="positive" name="submit" value="submit">
	                	<?php print $this->bep_assets->icon( 'disk' );?>
	                	<?php print $this->lang->line( 'general_save' )?>
	                </button>
	                <a href="<?php print site_url( 'article/admin/website' )?>" class="negative">
	                	<?php print $this->bep_assets->icon( 'cross' );?>
	                	<?php print $this->lang->line( 'general_cancel' )?>
	                </a>
	            </div>
            </li>
        </ol>
    </fieldset>
<?php print form_close( )?>